package com.ddpt.platform.common.export.vo.merchant;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

/**
 * 商户落地页导出体
 *
 * @author : zhanggsc
 * @Data : 2023/2/27 9:30
 */
@Getter
@Setter
public class PagerVo extends QueryDataVo {

    @Export("页面名称")
    private String name;

    @Export("预览图url")
    private String img;

    @Export("页面配置")
    private String pageConfig;

    @Export(value = "类型",key = {"1","2","3"},val = {"商城","活动","中间页"})
    private Integer type;

    @Export("关联id")
    private Long relationId;

    @Export(value = "状态",key = {"0","1"},val = {"未发布","已发布"})
    private Integer status;

    @Export("页面链接")
    private String pageLink;

    @Export("页面完整链接，带授权")
    private String canonicalPageLink;

   @Export(value = "创建人id",isStr = true)
    private Long createUserId;

    @Export(value = "累计访客数",isStr = true)
    private Integer visitorNum;

    @Export(value = "累计浏览量",isStr = true)
    private Integer pageViewNum;
}
